package com.hubing.cloud.app.web.mapper;
import java.util.Collection;

import com.hubing.cloud.app.web.base.BaseMapper;
import com.hubing.cloud.app.web.model.entity.Menu;
import com.hubing.cloud.app.web.model.vo.MenuVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 81517
* @description 针对表【menu】的数据库操作Mapper
* @createDate 2023-01-31 01:42:54
* @Entity com.hubing.cloud.app.web.model.entity.Menu
*/
public interface MenuMapper extends BaseMapper<Menu> {

    List<MenuVO> queryMenu();

    Integer queryMaxSort(@Param("parentId") String parentId);

    List<MenuVO> queryRootMenu();

    List<MenuVO> queryByMenuIdIn(@Param("menuIdList") Collection<String> menuIdList);
}
